package com.cjs.simpleFactory;

public class Client {
	public static void main(String[] args) throws Exception{
		
		Fruit apple = Factory.getFruit("Apple");
		Fruit pear = Factory.getFruit("Pear");
		
		apple.get();
		pear.get();
	}
}
